<?xml version="1.0" encoding="UTF-8"?>

<?import javafx.scene.control.Button?>
<?import javafx.scene.control.DatePicker?>
<?import javafx.scene.control.ListView?>
<?import javafx.scene.control.TableView?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.text.Font?>
<?import javafx.scene.text.Text?>

<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="1049.0" prefWidth="1479.0" style="-fx-background-color: #000000; " xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.example.theater.controller.performance.TroupeController">
    <Text fill="WHITE" layoutY="50.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Troupe" textAlignment="CENTER" wrappingWidth="1479.0">
        <font>
            <Font name="Times New Roman Bold" size="40.0" />
        </font>
    </Text>
    <AnchorPane layoutX="5.0" layoutY="67.0" prefHeight="980.0" prefWidth="1469.0" style="-fx-background-color: #ffffff;">
        <Button fx:id="back" layoutX="14.0" layoutY="765.0" mnemonicParsing="false" prefHeight="88.0" prefWidth="114.0" style="-fx-background-radius: 100; -fx-background-color: silver;" text="Back" textAlignment="CENTER" wrapText="true">
            <font>
                <Font name="Times New Roman Bold" size="20.0" />
            </font>
        </Button>
        <Button fx:id="close" layoutX="14.0" layoutY="860.0" mnemonicParsing="false" prefHeight="88.0" prefWidth="114.0" style="-fx-background-radius: 100; -fx-background-color: silver;" text="Exit" textAlignment="CENTER" wrapText="true">
            <font>
                <Font name="Times New Roman Bold" size="20.0" />
            </font>
        </Button>
        <Button fx:id="musicians" layoutX="14.0" layoutY="214.0" mnemonicParsing="false" prefHeight="88.0" prefWidth="114.0" style="-fx-background-radius: 100; -fx-background-color: silver;" text="Musicians" textAlignment="CENTER" wrapText="true">
            <font>
                <Font name="Times New Roman Bold" size="20.0" />
            </font>
        </Button>
        <Button fx:id="directors" layoutX="14.0" layoutY="120.0" mnemonicParsing="false" prefHeight="88.0" prefWidth="114.0" style="-fx-background-radius: 100; -fx-background-color: silver;" text="Directors" textAlignment="CENTER" wrapText="true">
            <font>
                <Font name="Times New Roman Bold" size="20.0" />
            </font>
        </Button>
        <Button fx:id="actors" layoutX="14.0" layoutY="26.0" mnemonicParsing="false" prefHeight="88.0" prefWidth="114.0" style="-fx-background-radius: 100; -fx-background-color: silver;" text="Actors" textAlignment="CENTER" wrapText="true">
            <font>
                <Font name="Times New Roman Bold" size="20.0" />
            </font>
        </Button>
<!--        <Button fx:id="search" layoutX="812.0" layoutY="490.0" mnemonicParsing="false" prefHeight="88.0" prefWidth="114.0" style="-fx-background-radius: 100; -fx-background-color: silver;" text="Search" textAlignment="CENTER" wrapText="true">-->
<!--            <font>-->
<!--                <Font name="Times New Roman Bold" size="20.0" />-->
<!--            </font>-->
<!--        </Button>-->
        <Button fx:id="add" layoutX="896.0" layoutY="816.0" mnemonicParsing="false" prefHeight="88.0" prefWidth="114.0" style="-fx-background-radius: 100; -fx-background-color: silver;" text="Add" textAlignment="CENTER" wrapText="true">
            <font>
                <Font name="Times New Roman Bold" size="20.0" />
            </font>
        </Button>
<!--        <Button fx:id="edit" layoutX="1019.0" layoutY="816.0" mnemonicParsing="false" prefHeight="88.0" prefWidth="114.0" style="-fx-background-radius: 100; -fx-background-color: silver;" text="Edit" textAlignment="CENTER" wrapText="true">-->
<!--            <font>-->
<!--                <Font name="Times New Roman Bold" size="20.0" />-->
<!--            </font>-->
<!--        </Button>-->
        <Button fx:id="drop" layoutX="1140.0" layoutY="816.0" mnemonicParsing="false" prefHeight="88.0" prefWidth="114.0" style="-fx-background-radius: 100; -fx-background-color: silver;" text="Drop" textAlignment="CENTER" wrapText="true">
            <font>
                <Font name="Times New Roman Bold" size="20.0" />
            </font>
        </Button>
        <Button fx:id="roles" layoutX="14.0" layoutY="308.0" mnemonicParsing="false" prefHeight="88.0" prefWidth="114.0" style="-fx-background-radius: 100; -fx-background-color: silver;" text="Role" textAlignment="CENTER" wrapText="true">
            <font>
                <Font name="Times New Roman Bold" size="19.0" />
            </font>
        </Button>
        <Button fx:id="characters" layoutX="14.0" layoutY="411.0" mnemonicParsing="false" prefHeight="88.0" prefWidth="114.0" style="-fx-background-radius: 100; -fx-background-color: silver;" text="Characters" textAlignment="CENTER" wrapText="true">
            <font>
                <Font name="Times New Roman Bold" size="18.0" />
            </font>
        </Button>

        <TableView fx:id="performanceTable" layoutX="134.0" layoutY="54.0" prefHeight="172.0" prefWidth="561.0" tableMenuButtonVisible="true" />
        <TableView fx:id="actorsTable" layoutX="134.0" layoutY="263.0" prefHeight="172.0" prefWidth="180.0" tableMenuButtonVisible="true" />
        <TableView fx:id="directorsTable" layoutX="325.0" layoutY="263.0" prefHeight="172.0" prefWidth="180.0" tableMenuButtonVisible="true" />
        <TableView fx:id="musiciansTable" layoutX="515.0" layoutY="263.0" prefHeight="172.0" prefWidth="180.0" tableMenuButtonVisible="true" />
        <TableView fx:id="directorTable" layoutX="325.0" layoutY="677.0" prefHeight="200.0" prefWidth="180.0" tableMenuButtonVisible="true" />
        <TableView fx:id="musicianTable" layoutX="516.0" layoutY="677.0" prefHeight="200.0" prefWidth="180.0" tableMenuButtonVisible="true" />
        <TableView fx:id="actorTable" layoutX="134.0" layoutY="677.0" prefHeight="200.0" prefWidth="180.0" tableMenuButtonVisible="true" />
        <TableView fx:id="roleTable" layoutX="134.0" layoutY="469.0" prefHeight="172.0" prefWidth="180.0" tableMenuButtonVisible="true" />
        <TableView fx:id="characterTable" layoutX="515.0" layoutY="469.0" prefHeight="172.0" prefWidth="180.0" tableMenuButtonVisible="true" />
        <TableView fx:id="charactersTable" layoutX="325.0" layoutY="469.0" prefHeight="172.0" prefWidth="180.0" tableMenuButtonVisible="true" />

        <ListView fx:id="queries" layoutX="1042.0" layoutY="25.0" prefHeight="539.0" prefWidth="416.0" />

        <TextField fx:id="result" layoutX="896.0" layoutY="912.0" prefHeight="44.0" prefWidth="360.0">
            <font>
                <Font size="20.0" />
            </font>
        </TextField>

        <!--!!!!!!!!!!!!!!!!!!!!!!!!!!!!!SEARCH FIELDS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!-->
<!--        <TextField fx:id="searchField1" layoutX="866.0" layoutY="14.0" prefHeight="25.0" prefWidth="174.0">-->
<!--            <font>-->
<!--                <Font size="19.0" />-->
<!--            </font></TextField>-->
<!--        <Text fx:id="searchText1" layoutX="705.0" layoutY="43.0" strokeType="OUTSIDE" strokeWidth="0.0" text="11">-->
<!--            <font>-->
<!--                <Font size="19.0" />-->
<!--            </font></Text>-->

<!--        <TextField fx:id="searchField2" layoutX="866.0" layoutY="54.0" prefHeight="44.0" prefWidth="174.0">-->
<!--            <font>-->
<!--                <Font size="19.0" />-->
<!--            </font></TextField>-->
<!--        <Text fx:id="searchText2" layoutX="705.0" layoutY="84.0" strokeType="OUTSIDE" strokeWidth="0.0" text="12">-->
<!--            <font>-->
<!--                <Font size="19.0" />-->
<!--            </font></Text>-->

<!--        <TextField fx:id="searchField3" layoutX="866.0" layoutY="100.0" prefHeight="25.0" prefWidth="174.0">-->
<!--            <font>-->
<!--                <Font size="19.0" />-->
<!--            </font></TextField>-->
<!--        <Text fx:id="searchText3" layoutX="705.0" layoutY="128.0" strokeType="OUTSIDE" strokeWidth="0.0" text="13">-->
<!--            <font>-->
<!--                <Font size="19.0" />-->
<!--            </font></Text>-->

<!--        <TextField fx:id="searchField4" layoutX="866.0" layoutY="144.0" prefHeight="25.0" prefWidth="174.0">-->
<!--            <font>-->
<!--                <Font size="19.0" />-->
<!--            </font>-->
<!--        </TextField>-->
<!--        <Text fx:id="searchText4" layoutX="705.0" layoutY="172.0" strokeType="OUTSIDE" strokeWidth="0.0" text="14">-->
<!--            <font>-->
<!--                <Font size="19.0" />-->
<!--            </font></Text>-->

<!--        <DatePicker fx:id="searchField5" layoutX="866.0" layoutY="186.0" prefHeight="41.0" prefWidth="174.0" />-->
<!--        <Text fx:id="searchText5" layoutX="705.0" layoutY="215.0" strokeType="OUTSIDE" strokeWidth="0.0" text="15">-->
<!--            <font>-->
<!--                <Font size="19.0" />-->
<!--            </font></Text>-->

<!--        <DatePicker fx:id="searchField6" layoutX="866.0" layoutY="228.0" prefHeight="41.0" prefWidth="174.0" />-->
<!--        <Text fx:id="searchText6" layoutX="705.0" layoutY="257.0" strokeType="OUTSIDE" strokeWidth="0.0" text="16">-->
<!--            <font>-->
<!--                <Font size="19.0" />-->
<!--            </font></Text>-->

<!--        <TextField fx:id="searchField7" layoutX="866.0" layoutY="272.0" prefHeight="25.0" prefWidth="174.0">-->
<!--            <font>-->
<!--                <Font size="19.0" />-->
<!--            </font></TextField>-->
<!--        <Text fx:id="searchText7" layoutX="705.0" layoutY="300.0" strokeType="OUTSIDE" strokeWidth="0.0" text="17">-->
<!--            <font>-->
<!--                <Font size="19.0" />-->
<!--            </font>-->
<!--        </Text>-->

<!--        <TextField fx:id="searchField8" layoutX="866.0" layoutY="316.0" prefHeight="41.0" prefWidth="174.0">-->
<!--            <font>-->
<!--                <Font size="19.0" />-->
<!--            </font></TextField>-->
<!--        <Text fx:id="searchText8" layoutX="705.0" layoutY="345.0" strokeType="OUTSIDE" strokeWidth="0.0" text="18">-->
<!--            <font>-->
<!--                <Font size="19.0" />-->
<!--            </font>-->
<!--        </Text>-->

        <!--!!!!!!!!!!!!!!!!!!!!!!!!!!!!!INPUT FIELDS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!-->
        <TextField fx:id="addField1" layoutX="870.0" layoutY="693.0" prefHeight="25.0" prefWidth="174.0">
            <font>
                <Font size="20.0" />
            </font></TextField>
        <Text fx:id="addText1" layoutX="715.0" layoutY="722.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Name">
            <font>
                <Font size="20.0" />
            </font></Text>

        <TextField fx:id="addField2" layoutX="1231.0" layoutY="693.0" prefHeight="44.0" prefWidth="174.0" text="true or false">
            <font>
                <Font size="20.0" />
            </font>
        </TextField>
        <Text fx:id="addText2" layoutX="1066.0" layoutY="722.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Is main">
            <font>
                <Font size="20.0" />
            </font></Text>

        <TextField fx:id="addField3" layoutX="870.0" layoutY="751.0" prefHeight="44.0" prefWidth="174.0" text="true or false">
            <font>
                <Font size="20.0" />
            </font></TextField>
        <Text fx:id="addText3" layoutX="715.0" layoutY="780.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Is understudy">
            <font>
                <Font size="20.0" />
            </font></Text>

      <Text layoutX="375.0" layoutY="41.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Performance">
         <font>
            <Font size="16.0" />
         </font>
      </Text>
      <Text layoutX="387.0" layoutY="670.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Director">
         <font>
            <Font size="16.0" />
         </font>
      </Text>
      <Text layoutX="573.0" layoutY="671.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Musician">
         <font>
            <Font size="16.0" />
         </font>
      </Text>
      <Text layoutX="154.0" layoutY="256.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Performance Actors">
         <font>
            <Font size="16.0" />
         </font>
      </Text>
      <Text layoutX="336.0" layoutY="254.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Performance Directors">
         <font>
            <Font size="16.0" />
         </font>
      </Text>
      <Text layoutX="523.0" layoutY="255.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Performance Musicians">
         <font>
            <Font size="16.0" />
         </font>
      </Text>


      <Text layoutX="205.0" layoutY="670.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Actor">
         <font>
            <Font size="16.0" />
         </font>
      </Text>

      <Text layoutX="159.0" layoutY="462.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Performance Roles">
         <font>
            <Font size="16.0" />
         </font>
      </Text>
      <Text layoutX="571.0" layoutY="462.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Character">
         <font>
            <Font size="16.0" />
         </font>
      </Text>

      <Text layoutX="360.0" layoutY="462.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Role Characters">
         <font>
            <Font size="16.0" />
         </font>
      </Text>

    </AnchorPane>
</AnchorPane>
